package org.lyq.erp.process.userrank.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class TblWxUserrankExample {
	protected String orderByClause;

	protected boolean distinct;

	protected List<Criteria> oredCriteria;

	public TblWxUserrankExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	public String getOrderByClause() {
		return orderByClause;
	}

	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	public boolean isDistinct() {
		return distinct;
	}

	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	public Criteria or() {
		Criteria criteria = createCriteriaInternal();
		oredCriteria.add(criteria);
		return criteria;
	}

	public Criteria createCriteria() {
		Criteria criteria = createCriteriaInternal();
		if (oredCriteria.size() == 0) {
			oredCriteria.add(criteria);
		}
		return criteria;
	}

	protected Criteria createCriteriaInternal() {
		Criteria criteria = new Criteria();
		return criteria;
	}

	public void clear() {
		oredCriteria.clear();
		orderByClause = null;
		distinct = false;
	}

	protected abstract static class GeneratedCriteria {
		protected List<Criterion> criteria;

		protected GeneratedCriteria() {
			super();
			criteria = new ArrayList<Criterion>();
		}

		public boolean isValid() {
			return criteria.size() > 0;
		}

		public List<Criterion> getAllCriteria() {
			return criteria;
		}

		public List<Criterion> getCriteria() {
			return criteria;
		}

		protected void addCriterion(String condition) {
			if (condition == null) {
				throw new RuntimeException("Value for condition cannot be null");
			}
			criteria.add(new Criterion(condition));
		}

		protected void addCriterion(String condition, Object value, String property) {
			if (value == null) {
				throw new RuntimeException("Value for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value));
		}

		protected void addCriterion(String condition, Object value1, Object value2, String property) {
			if (value1 == null || value2 == null) {
				throw new RuntimeException("Between values for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value1, value2));
		}

		public Criteria andRankIdIsNull() {
			addCriterion("rank_id is null");
			return (Criteria) this;
		}

		public Criteria andRankIdIsNotNull() {
			addCriterion("rank_id is not null");
			return (Criteria) this;
		}

		public Criteria andRankIdEqualTo(Integer value) {
			addCriterion("rank_id =", value, "rankId");
			return (Criteria) this;
		}

		public Criteria andRankIdNotEqualTo(Integer value) {
			addCriterion("rank_id <>", value, "rankId");
			return (Criteria) this;
		}

		public Criteria andRankIdGreaterThan(Integer value) {
			addCriterion("rank_id >", value, "rankId");
			return (Criteria) this;
		}

		public Criteria andRankIdGreaterThanOrEqualTo(Integer value) {
			addCriterion("rank_id >=", value, "rankId");
			return (Criteria) this;
		}

		public Criteria andRankIdLessThan(Integer value) {
			addCriterion("rank_id <", value, "rankId");
			return (Criteria) this;
		}

		public Criteria andRankIdLessThanOrEqualTo(Integer value) {
			addCriterion("rank_id <=", value, "rankId");
			return (Criteria) this;
		}

		public Criteria andRankIdIn(List<Integer> values) {
			addCriterion("rank_id in", values, "rankId");
			return (Criteria) this;
		}

		public Criteria andRankIdNotIn(List<Integer> values) {
			addCriterion("rank_id not in", values, "rankId");
			return (Criteria) this;
		}

		public Criteria andRankIdBetween(Integer value1, Integer value2) {
			addCriterion("rank_id between", value1, value2, "rankId");
			return (Criteria) this;
		}

		public Criteria andRankIdNotBetween(Integer value1, Integer value2) {
			addCriterion("rank_id not between", value1, value2, "rankId");
			return (Criteria) this;
		}

		public Criteria andRankCreatetimeIsNull() {
			addCriterion("rank_createtime is null");
			return (Criteria) this;
		}

		public Criteria andRankCreatetimeIsNotNull() {
			addCriterion("rank_createtime is not null");
			return (Criteria) this;
		}

		public Criteria andRankCreatetimeEqualTo(Long value) {
			addCriterion("rank_createtime =", value, "rankCreatetime");
			return (Criteria) this;
		}

		public Criteria andRankCreatetimeNotEqualTo(Long value) {
			addCriterion("rank_createtime <>", value, "rankCreatetime");
			return (Criteria) this;
		}

		public Criteria andRankCreatetimeGreaterThan(Long value) {
			addCriterion("rank_createtime >", value, "rankCreatetime");
			return (Criteria) this;
		}

		public Criteria andRankCreatetimeGreaterThanOrEqualTo(Long value) {
			addCriterion("rank_createtime >=", value, "rankCreatetime");
			return (Criteria) this;
		}

		public Criteria andRankCreatetimeLessThan(Long value) {
			addCriterion("rank_createtime <", value, "rankCreatetime");
			return (Criteria) this;
		}

		public Criteria andRankCreatetimeLessThanOrEqualTo(Long value) {
			addCriterion("rank_createtime <=", value, "rankCreatetime");
			return (Criteria) this;
		}

		public Criteria andRankCreatetimeIn(List<Long> values) {
			addCriterion("rank_createtime in", values, "rankCreatetime");
			return (Criteria) this;
		}

		public Criteria andRankCreatetimeNotIn(List<Long> values) {
			addCriterion("rank_createtime not in", values, "rankCreatetime");
			return (Criteria) this;
		}

		public Criteria andRankCreatetimeBetween(Long value1, Long value2) {
			addCriterion("rank_createtime between", value1, value2, "rankCreatetime");
			return (Criteria) this;
		}

		public Criteria andRankCreatetimeNotBetween(Long value1, Long value2) {
			addCriterion("rank_createtime not between", value1, value2, "rankCreatetime");
			return (Criteria) this;
		}

		public Criteria andRankNameIsNull() {
			addCriterion("rank_name is null");
			return (Criteria) this;
		}

		public Criteria andRankNameIsNotNull() {
			addCriterion("rank_name is not null");
			return (Criteria) this;
		}

		public Criteria andRankNameEqualTo(String value) {
			addCriterion("rank_name =", value, "rankName");
			return (Criteria) this;
		}

		public Criteria andRankNameNotEqualTo(String value) {
			addCriterion("rank_name <>", value, "rankName");
			return (Criteria) this;
		}

		public Criteria andRankNameGreaterThan(String value) {
			addCriterion("rank_name >", value, "rankName");
			return (Criteria) this;
		}

		public Criteria andRankNameGreaterThanOrEqualTo(String value) {
			addCriterion("rank_name >=", value, "rankName");
			return (Criteria) this;
		}

		public Criteria andRankNameLessThan(String value) {
			addCriterion("rank_name <", value, "rankName");
			return (Criteria) this;
		}

		public Criteria andRankNameLessThanOrEqualTo(String value) {
			addCriterion("rank_name <=", value, "rankName");
			return (Criteria) this;
		}

		public Criteria andRankNameLike(String value) {
			addCriterion("rank_name like", value, "rankName");
			return (Criteria) this;
		}

		public Criteria andRankNameNotLike(String value) {
			addCriterion("rank_name not like", value, "rankName");
			return (Criteria) this;
		}

		public Criteria andRankNameIn(List<String> values) {
			addCriterion("rank_name in", values, "rankName");
			return (Criteria) this;
		}

		public Criteria andRankNameNotIn(List<String> values) {
			addCriterion("rank_name not in", values, "rankName");
			return (Criteria) this;
		}

		public Criteria andRankNameBetween(String value1, String value2) {
			addCriterion("rank_name between", value1, value2, "rankName");
			return (Criteria) this;
		}

		public Criteria andRankNameNotBetween(String value1, String value2) {
			addCriterion("rank_name not between", value1, value2, "rankName");
			return (Criteria) this;
		}

		public Criteria andRankUpdatetimeIsNull() {
			addCriterion("rank_updatetime is null");
			return (Criteria) this;
		}

		public Criteria andRankUpdatetimeIsNotNull() {
			addCriterion("rank_updatetime is not null");
			return (Criteria) this;
		}

		public Criteria andRankUpdatetimeEqualTo(Long value) {
			addCriterion("rank_updatetime =", value, "rankUpdatetime");
			return (Criteria) this;
		}

		public Criteria andRankUpdatetimeNotEqualTo(Long value) {
			addCriterion("rank_updatetime <>", value, "rankUpdatetime");
			return (Criteria) this;
		}

		public Criteria andRankUpdatetimeGreaterThan(Long value) {
			addCriterion("rank_updatetime >", value, "rankUpdatetime");
			return (Criteria) this;
		}

		public Criteria andRankUpdatetimeGreaterThanOrEqualTo(Long value) {
			addCriterion("rank_updatetime >=", value, "rankUpdatetime");
			return (Criteria) this;
		}

		public Criteria andRankUpdatetimeLessThan(Long value) {
			addCriterion("rank_updatetime <", value, "rankUpdatetime");
			return (Criteria) this;
		}

		public Criteria andRankUpdatetimeLessThanOrEqualTo(Long value) {
			addCriterion("rank_updatetime <=", value, "rankUpdatetime");
			return (Criteria) this;
		}

		public Criteria andRankUpdatetimeIn(List<Long> values) {
			addCriterion("rank_updatetime in", values, "rankUpdatetime");
			return (Criteria) this;
		}

		public Criteria andRankUpdatetimeNotIn(List<Long> values) {
			addCriterion("rank_updatetime not in", values, "rankUpdatetime");
			return (Criteria) this;
		}

		public Criteria andRankUpdatetimeBetween(Long value1, Long value2) {
			addCriterion("rank_updatetime between", value1, value2, "rankUpdatetime");
			return (Criteria) this;
		}

		public Criteria andRankUpdatetimeNotBetween(Long value1, Long value2) {
			addCriterion("rank_updatetime not between", value1, value2, "rankUpdatetime");
			return (Criteria) this;
		}

		public Criteria andRankStatusIsNull() {
			addCriterion("rank_status is null");
			return (Criteria) this;
		}

		public Criteria andRankStatusIsNotNull() {
			addCriterion("rank_status is not null");
			return (Criteria) this;
		}

		public Criteria andRankStatusEqualTo(Integer value) {
			addCriterion("rank_status =", value, "rankStatus");
			return (Criteria) this;
		}

		public Criteria andRankStatusNotEqualTo(Integer value) {
			addCriterion("rank_status <>", value, "rankStatus");
			return (Criteria) this;
		}

		public Criteria andRankStatusGreaterThan(Integer value) {
			addCriterion("rank_status >", value, "rankStatus");
			return (Criteria) this;
		}

		public Criteria andRankStatusGreaterThanOrEqualTo(Integer value) {
			addCriterion("rank_status >=", value, "rankStatus");
			return (Criteria) this;
		}

		public Criteria andRankStatusLessThan(Integer value) {
			addCriterion("rank_status <", value, "rankStatus");
			return (Criteria) this;
		}

		public Criteria andRankStatusLessThanOrEqualTo(Integer value) {
			addCriterion("rank_status <=", value, "rankStatus");
			return (Criteria) this;
		}

		public Criteria andRankStatusIn(List<Integer> values) {
			addCriterion("rank_status in", values, "rankStatus");
			return (Criteria) this;
		}

		public Criteria andRankStatusNotIn(List<Integer> values) {
			addCriterion("rank_status not in", values, "rankStatus");
			return (Criteria) this;
		}

		public Criteria andRankStatusBetween(Integer value1, Integer value2) {
			addCriterion("rank_status between", value1, value2, "rankStatus");
			return (Criteria) this;
		}

		public Criteria andRankStatusNotBetween(Integer value1, Integer value2) {
			addCriterion("rank_status not between", value1, value2, "rankStatus");
			return (Criteria) this;
		}

		public Criteria andRankCodeIsNull() {
			addCriterion("rank_code is null");
			return (Criteria) this;
		}

		public Criteria andRankCodeIsNotNull() {
			addCriterion("rank_code is not null");
			return (Criteria) this;
		}

		public Criteria andRankCodeEqualTo(String value) {
			addCriterion("rank_code =", value, "rankCode");
			return (Criteria) this;
		}

		public Criteria andRankCodeNotEqualTo(String value) {
			addCriterion("rank_code <>", value, "rankCode");
			return (Criteria) this;
		}

		public Criteria andRankCodeGreaterThan(String value) {
			addCriterion("rank_code >", value, "rankCode");
			return (Criteria) this;
		}

		public Criteria andRankCodeGreaterThanOrEqualTo(String value) {
			addCriterion("rank_code >=", value, "rankCode");
			return (Criteria) this;
		}

		public Criteria andRankCodeLessThan(String value) {
			addCriterion("rank_code <", value, "rankCode");
			return (Criteria) this;
		}

		public Criteria andRankCodeLessThanOrEqualTo(String value) {
			addCriterion("rank_code <=", value, "rankCode");
			return (Criteria) this;
		}

		public Criteria andRankCodeLike(String value) {
			addCriterion("rank_code like", value, "rankCode");
			return (Criteria) this;
		}

		public Criteria andRankCodeNotLike(String value) {
			addCriterion("rank_code not like", value, "rankCode");
			return (Criteria) this;
		}

		public Criteria andRankCodeIn(List<String> values) {
			addCriterion("rank_code in", values, "rankCode");
			return (Criteria) this;
		}

		public Criteria andRankCodeNotIn(List<String> values) {
			addCriterion("rank_code not in", values, "rankCode");
			return (Criteria) this;
		}

		public Criteria andRankCodeBetween(String value1, String value2) {
			addCriterion("rank_code between", value1, value2, "rankCode");
			return (Criteria) this;
		}

		public Criteria andRankCodeNotBetween(String value1, String value2) {
			addCriterion("rank_code not between", value1, value2, "rankCode");
			return (Criteria) this;
		}

		public Criteria andRankDiscountIsNull() {
			addCriterion("rank_discount is null");
			return (Criteria) this;
		}

		public Criteria andRankDiscountIsNotNull() {
			addCriterion("rank_discount is not null");
			return (Criteria) this;
		}

		public Criteria andRankDiscountEqualTo(Double value) {
			addCriterion("rank_discount =", value, "rankDiscount");
			return (Criteria) this;
		}

		public Criteria andRankDiscountNotEqualTo(Double value) {
			addCriterion("rank_discount <>", value, "rankDiscount");
			return (Criteria) this;
		}

		public Criteria andRankDiscountGreaterThan(Double value) {
			addCriterion("rank_discount >", value, "rankDiscount");
			return (Criteria) this;
		}

		public Criteria andRankDiscountGreaterThanOrEqualTo(Double value) {
			addCriterion("rank_discount >=", value, "rankDiscount");
			return (Criteria) this;
		}

		public Criteria andRankDiscountLessThan(Double value) {
			addCriterion("rank_discount <", value, "rankDiscount");
			return (Criteria) this;
		}

		public Criteria andRankDiscountLessThanOrEqualTo(Double value) {
			addCriterion("rank_discount <=", value, "rankDiscount");
			return (Criteria) this;
		}

		public Criteria andRankDiscountIn(List<Double> values) {
			addCriterion("rank_discount in", values, "rankDiscount");
			return (Criteria) this;
		}

		public Criteria andRankDiscountNotIn(List<Double> values) {
			addCriterion("rank_discount not in", values, "rankDiscount");
			return (Criteria) this;
		}

		public Criteria andRankDiscountBetween(Double value1, Double value2) {
			addCriterion("rank_discount between", value1, value2, "rankDiscount");
			return (Criteria) this;
		}

		public Criteria andRankDiscountNotBetween(Double value1, Double value2) {
			addCriterion("rank_discount not between", value1, value2, "rankDiscount");
			return (Criteria) this;
		}

		public Criteria andRankAmtNumIsNull() {
			addCriterion("rank_amt_num is null");
			return (Criteria) this;
		}

		public Criteria andRankAmtNumIsNotNull() {
			addCriterion("rank_amt_num is not null");
			return (Criteria) this;
		}

		public Criteria andRankAmtNumEqualTo(BigDecimal value) {
			addCriterion("rank_amt_num =", value, "rankAmtNum");
			return (Criteria) this;
		}

		public Criteria andRankAmtNumNotEqualTo(BigDecimal value) {
			addCriterion("rank_amt_num <>", value, "rankAmtNum");
			return (Criteria) this;
		}

		public Criteria andRankAmtNumGreaterThan(BigDecimal value) {
			addCriterion("rank_amt_num >", value, "rankAmtNum");
			return (Criteria) this;
		}

		public Criteria andRankAmtNumGreaterThanOrEqualTo(BigDecimal value) {
			addCriterion("rank_amt_num >=", value, "rankAmtNum");
			return (Criteria) this;
		}

		public Criteria andRankAmtNumLessThan(BigDecimal value) {
			addCriterion("rank_amt_num <", value, "rankAmtNum");
			return (Criteria) this;
		}

		public Criteria andRankAmtNumLessThanOrEqualTo(BigDecimal value) {
			addCriterion("rank_amt_num <=", value, "rankAmtNum");
			return (Criteria) this;
		}

		public Criteria andRankAmtNumIn(List<BigDecimal> values) {
			addCriterion("rank_amt_num in", values, "rankAmtNum");
			return (Criteria) this;
		}

		public Criteria andRankAmtNumNotIn(List<BigDecimal> values) {
			addCriterion("rank_amt_num not in", values, "rankAmtNum");
			return (Criteria) this;
		}

		public Criteria andRankAmtNumBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("rank_amt_num between", value1, value2, "rankAmtNum");
			return (Criteria) this;
		}

		public Criteria andRankAmtNumNotBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("rank_amt_num not between", value1, value2, "rankAmtNum");
			return (Criteria) this;
		}

		public Criteria andRankIstypeIsNull() {
			addCriterion("rank_istype is null");
			return (Criteria) this;
		}

		public Criteria andRankIstypeIsNotNull() {
			addCriterion("rank_istype is not null");
			return (Criteria) this;
		}

		public Criteria andRankIstypeEqualTo(Integer value) {
			addCriterion("rank_istype =", value, "rankIstype");
			return (Criteria) this;
		}

		public Criteria andRankIstypeNotEqualTo(Integer value) {
			addCriterion("rank_istype <>", value, "rankIstype");
			return (Criteria) this;
		}

		public Criteria andRankIstypeGreaterThan(Integer value) {
			addCriterion("rank_istype >", value, "rankIstype");
			return (Criteria) this;
		}

		public Criteria andRankIstypeGreaterThanOrEqualTo(Integer value) {
			addCriterion("rank_istype >=", value, "rankIstype");
			return (Criteria) this;
		}

		public Criteria andRankIstypeLessThan(Integer value) {
			addCriterion("rank_istype <", value, "rankIstype");
			return (Criteria) this;
		}

		public Criteria andRankIstypeLessThanOrEqualTo(Integer value) {
			addCriterion("rank_istype <=", value, "rankIstype");
			return (Criteria) this;
		}

		public Criteria andRankIstypeIn(List<Integer> values) {
			addCriterion("rank_istype in", values, "rankIstype");
			return (Criteria) this;
		}

		public Criteria andRankIstypeNotIn(List<Integer> values) {
			addCriterion("rank_istype not in", values, "rankIstype");
			return (Criteria) this;
		}

		public Criteria andRankIstypeBetween(Integer value1, Integer value2) {
			addCriterion("rank_istype between", value1, value2, "rankIstype");
			return (Criteria) this;
		}

		public Criteria andRankIstypeNotBetween(Integer value1, Integer value2) {
			addCriterion("rank_istype not between", value1, value2, "rankIstype");
			return (Criteria) this;
		}

		public Criteria andRankBuyfullIdIsNull() {
			addCriterion("rank_buyfull_id is null");
			return (Criteria) this;
		}

		public Criteria andRankBuyfullIdIsNotNull() {
			addCriterion("rank_buyfull_id is not null");
			return (Criteria) this;
		}

		public Criteria andRankBuyfullIdEqualTo(Integer value) {
			addCriterion("rank_buyfull_id =", value, "rankBuyfullId");
			return (Criteria) this;
		}

		public Criteria andRankBuyfullIdNotEqualTo(Integer value) {
			addCriterion("rank_buyfull_id <>", value, "rankBuyfullId");
			return (Criteria) this;
		}

		public Criteria andRankBuyfullIdGreaterThan(Integer value) {
			addCriterion("rank_buyfull_id >", value, "rankBuyfullId");
			return (Criteria) this;
		}

		public Criteria andRankBuyfullIdGreaterThanOrEqualTo(Integer value) {
			addCriterion("rank_buyfull_id >=", value, "rankBuyfullId");
			return (Criteria) this;
		}

		public Criteria andRankBuyfullIdLessThan(Integer value) {
			addCriterion("rank_buyfull_id <", value, "rankBuyfullId");
			return (Criteria) this;
		}

		public Criteria andRankBuyfullIdLessThanOrEqualTo(Integer value) {
			addCriterion("rank_buyfull_id <=", value, "rankBuyfullId");
			return (Criteria) this;
		}

		public Criteria andRankBuyfullIdIn(List<Integer> values) {
			addCriterion("rank_buyfull_id in", values, "rankBuyfullId");
			return (Criteria) this;
		}

		public Criteria andRankBuyfullIdNotIn(List<Integer> values) {
			addCriterion("rank_buyfull_id not in", values, "rankBuyfullId");
			return (Criteria) this;
		}

		public Criteria andRankBuyfullIdBetween(Integer value1, Integer value2) {
			addCriterion("rank_buyfull_id between", value1, value2, "rankBuyfullId");
			return (Criteria) this;
		}

		public Criteria andRankBuyfullIdNotBetween(Integer value1, Integer value2) {
			addCriterion("rank_buyfull_id not between", value1, value2, "rankBuyfullId");
			return (Criteria) this;
		}

		public Criteria andRankDiscntStatimeIsNull() {
			addCriterion("rank_discnt_statime is null");
			return (Criteria) this;
		}

		public Criteria andRankDiscntStatimeIsNotNull() {
			addCriterion("rank_discnt_statime is not null");
			return (Criteria) this;
		}

		public Criteria andRankDiscntStatimeEqualTo(Long value) {
			addCriterion("rank_discnt_statime =", value, "rankDiscntStatime");
			return (Criteria) this;
		}

		public Criteria andRankDiscntStatimeNotEqualTo(Long value) {
			addCriterion("rank_discnt_statime <>", value, "rankDiscntStatime");
			return (Criteria) this;
		}

		public Criteria andRankDiscntStatimeGreaterThan(Long value) {
			addCriterion("rank_discnt_statime >", value, "rankDiscntStatime");
			return (Criteria) this;
		}

		public Criteria andRankDiscntStatimeGreaterThanOrEqualTo(Long value) {
			addCriterion("rank_discnt_statime >=", value, "rankDiscntStatime");
			return (Criteria) this;
		}

		public Criteria andRankDiscntStatimeLessThan(Long value) {
			addCriterion("rank_discnt_statime <", value, "rankDiscntStatime");
			return (Criteria) this;
		}

		public Criteria andRankDiscntStatimeLessThanOrEqualTo(Long value) {
			addCriterion("rank_discnt_statime <=", value, "rankDiscntStatime");
			return (Criteria) this;
		}

		public Criteria andRankDiscntStatimeIn(List<Long> values) {
			addCriterion("rank_discnt_statime in", values, "rankDiscntStatime");
			return (Criteria) this;
		}

		public Criteria andRankDiscntStatimeNotIn(List<Long> values) {
			addCriterion("rank_discnt_statime not in", values, "rankDiscntStatime");
			return (Criteria) this;
		}

		public Criteria andRankDiscntStatimeBetween(Long value1, Long value2) {
			addCriterion("rank_discnt_statime between", value1, value2, "rankDiscntStatime");
			return (Criteria) this;
		}

		public Criteria andRankDiscntStatimeNotBetween(Long value1, Long value2) {
			addCriterion("rank_discnt_statime not between", value1, value2, "rankDiscntStatime");
			return (Criteria) this;
		}

		public Criteria andRankDiscntEndtimeIsNull() {
			addCriterion("rank_discnt_endtime is null");
			return (Criteria) this;
		}

		public Criteria andRankDiscntEndtimeIsNotNull() {
			addCriterion("rank_discnt_endtime is not null");
			return (Criteria) this;
		}

		public Criteria andRankDiscntEndtimeEqualTo(Long value) {
			addCriterion("rank_discnt_endtime =", value, "rankDiscntEndtime");
			return (Criteria) this;
		}

		public Criteria andRankDiscntEndtimeNotEqualTo(Long value) {
			addCriterion("rank_discnt_endtime <>", value, "rankDiscntEndtime");
			return (Criteria) this;
		}

		public Criteria andRankDiscntEndtimeGreaterThan(Long value) {
			addCriterion("rank_discnt_endtime >", value, "rankDiscntEndtime");
			return (Criteria) this;
		}

		public Criteria andRankDiscntEndtimeGreaterThanOrEqualTo(Long value) {
			addCriterion("rank_discnt_endtime >=", value, "rankDiscntEndtime");
			return (Criteria) this;
		}

		public Criteria andRankDiscntEndtimeLessThan(Long value) {
			addCriterion("rank_discnt_endtime <", value, "rankDiscntEndtime");
			return (Criteria) this;
		}

		public Criteria andRankDiscntEndtimeLessThanOrEqualTo(Long value) {
			addCriterion("rank_discnt_endtime <=", value, "rankDiscntEndtime");
			return (Criteria) this;
		}

		public Criteria andRankDiscntEndtimeIn(List<Long> values) {
			addCriterion("rank_discnt_endtime in", values, "rankDiscntEndtime");
			return (Criteria) this;
		}

		public Criteria andRankDiscntEndtimeNotIn(List<Long> values) {
			addCriterion("rank_discnt_endtime not in", values, "rankDiscntEndtime");
			return (Criteria) this;
		}

		public Criteria andRankDiscntEndtimeBetween(Long value1, Long value2) {
			addCriterion("rank_discnt_endtime between", value1, value2, "rankDiscntEndtime");
			return (Criteria) this;
		}

		public Criteria andRankDiscntEndtimeNotBetween(Long value1, Long value2) {
			addCriterion("rank_discnt_endtime not between", value1, value2, "rankDiscntEndtime");
			return (Criteria) this;
		}
	}

	public static class Criteria extends GeneratedCriteria {

		protected Criteria() {
			super();
		}
	}

	public static class Criterion {
		private String condition;

		private Object value;

		private Object secondValue;

		private boolean noValue;

		private boolean singleValue;

		private boolean betweenValue;

		private boolean listValue;

		private String typeHandler;

		public String getCondition() {
			return condition;
		}

		public Object getValue() {
			return value;
		}

		public Object getSecondValue() {
			return secondValue;
		}

		public boolean isNoValue() {
			return noValue;
		}

		public boolean isSingleValue() {
			return singleValue;
		}

		public boolean isBetweenValue() {
			return betweenValue;
		}

		public boolean isListValue() {
			return listValue;
		}

		public String getTypeHandler() {
			return typeHandler;
		}

		protected Criterion(String condition) {
			super();
			this.condition = condition;
			this.typeHandler = null;
			this.noValue = true;
		}

		protected Criterion(String condition, Object value, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.typeHandler = typeHandler;
			if (value instanceof List<?>) {
				this.listValue = true;
			} else {
				this.singleValue = true;
			}
		}

		protected Criterion(String condition, Object value) {
			this(condition, value, null);
		}

		protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.secondValue = secondValue;
			this.typeHandler = typeHandler;
			this.betweenValue = true;
		}

		protected Criterion(String condition, Object value, Object secondValue) {
			this(condition, value, secondValue, null);
		}
	}
}